﻿using BasicInformation.ErrorCode;
using MediatR;

namespace BasicInformation.ApiWrite.Application.Command.Supplier
{
    public class AddSupplierCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 供应商编号(自动生产)
        /// </summary>
        public string SupplierCode { get; set; }
        /// <summary>
        /// 供应商名称
        /// </summary>
        public string SupplierName { get; set; }
        /// <summary>
        /// 供应商类型Id
        /// </summary>
        public int STyprId { get; set; }
        /// <summary>
        /// 电话
        /// </summary>
        public string SupplierTel { get; set; }
        /// <summary>
        /// 传真
        /// </summary>
        public string Fax { get; set; }
        /// <summary>
        /// 电子邮件
        /// </summary>
        public string Email { get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        public string SupplierContact { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string SupplierAddr { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string? SupplierRemark { get; set; }
    }
}
